package com.sophon.pattern.factory.vo;

/**
 * 牛奶制品，由主料和特殊配料组成。
 * @author Andy
 *
 */
public class MilkProduct {

	private MainMaterial mainMaterial;
	private SpecialMaterial specialMaterial;

	public MainMaterial getMainMaterial() {
		return mainMaterial;
	}

	public void setMainMaterial(MainMaterial mainMaterial1) {
		mainMaterial = mainMaterial1;
	}

	public SpecialMaterial getSpecialMaterial() {
		return specialMaterial;
	}

	public void setSpecialMaterial(SpecialMaterial specialMaterial) {
		this.specialMaterial = specialMaterial;
	}

	@Override
	public String toString() {
		return "MilkProduct [mainMaterial=" + mainMaterial + ", specialMaterial=" + specialMaterial + "]";
	}
}
